using System;
using System.Data;
using System.Collections.Generic;
using System.ServiceModel;
using eTMS.DAO;
namespace eTMS.Services{
	/********************************BEGIN ILopTinChiService****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:24/02/2012 20:02:25</para>
	/// <para>Class Name: ILopTinChiService</para>
	/// <para>Description: </para>
	///</summary>

	[ServiceContract]
	public partial interface ILopTinChiService{


		#region Select functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:24/02/2012 20:02:25</para>
		/// <para>Name: SelectOne</para>
		/// <para>Input: LopTinChi_ID</para>
		/// <para>Output: LopTinChiEntity</para>
		///</summary>
		[OperationContract]
		LopTinChiEntity SelectOne(int LopTinChi_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:24/02/2012 20:02:25</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of LopTinChiEntity</para>
		///</summary>
		[OperationContract]
		List<LopTinChiEntity> SelectAll();
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:24/02/2012 20:02:25</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		[OperationContract]
		DataSet SelectAllDS();
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:24/02/2012 20:02:25</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of LopTinChiEntity</para>
		///</summary>
		[OperationContract]
		List<LopTinChiEntity> SelectAllFilter(string strFilter);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:24/02/2012 20:02:25</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		[OperationContract]
		DataSet SelectAllDSFilter(string strFilter);
		#endregion

		#region Insert functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:24/02/2012 20:02:25</para>
		/// <para>Name: Save</para>
		/// <para>Input: LopTinChiEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool Save(LopTinChiEntity o);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:24/02/2012 20:02:25</para>
		/// <para>Name: SaveRet</para>
		/// <para>Input: LopTinChiEntity</para>
		/// <para>Output: return entity if succeeded else return null</para>
		///</summary>
		[OperationContract]
		LopTinChiEntity SaveRet(LopTinChiEntity o);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:24/02/2012 20:02:25</para>
		/// <para>Name: SaveList</para>
		/// <para>Input: List of LopTinChiEntity</para>
		/// <para>Output: </para>
		///</summary>
		[OperationContract]
		void SaveList(List<LopTinChiEntity> list);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:24/02/2012 20:02:25</para>
		/// <para>Name: SaveListRet</para>
		/// <para>Input: List of LopTinChiEntity</para>
		/// <para>Output: return list of entities if succeeded else return null list</para>
		///</summary>
		[OperationContract]
		List<LopTinChiEntity> SaveListRet(List<LopTinChiEntity> list);
		#endregion

		#region Update functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:24/02/2012 20:02:25</para>
		/// <para>Name: Update</para>
		/// <para>Input: LopTinChiEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool Update(LopTinChiEntity o);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:24/02/2012 20:02:25</para>
		/// <para>Name: UpdateList</para>
		/// <para>Input: List of LopTinChiEntity</para>
		/// <para>Output: </para>
		///</summary>
		[OperationContract]
		void UpdateList(List<LopTinChiEntity> list);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:24/02/2012 20:02:25</para>
		/// <para>Name: UpdateMaLop</para>
		/// <para>Input: NewMaLop,LopTinChi_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool UpdateMaLop(string NewMaLop,int LopTinChi_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:24/02/2012 20:02:25</para>
		/// <para>Name: UpdateNamHoc_ID</para>
		/// <para>Input: NewNamHoc_ID,LopTinChi_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool UpdateNamHoc_ID(int NewNamHoc_ID,int LopTinChi_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:24/02/2012 20:02:25</para>
		/// <para>Name: UpdateHocKy_ID</para>
		/// <para>Input: NewHocKy_ID,LopTinChi_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool UpdateHocKy_ID(int NewHocKy_ID,int LopTinChi_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:24/02/2012 20:02:25</para>
		/// <para>Name: UpdateSoSVToiDa</para>
		/// <para>Input: NewSoSVToiDa,LopTinChi_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool UpdateSoSVToiDa(int NewSoSVToiDa,int LopTinChi_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:24/02/2012 20:02:25</para>
		/// <para>Name: UpdateMonHoc_ID</para>
		/// <para>Input: NewMonHoc_ID,LopTinChi_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool UpdateMonHoc_ID(int NewMonHoc_ID,int LopTinChi_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:24/02/2012 20:02:25</para>
		/// <para>Name: UpdateTrangThai</para>
		/// <para>Input: NewTrangThai,LopTinChi_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool UpdateTrangThai(Byte NewTrangThai,int LopTinChi_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:24/02/2012 20:02:25</para>
		/// <para>Name: UpdateLop_ID</para>
		/// <para>Input: NewLop_ID,LopTinChi_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool UpdateLop_ID(int NewLop_ID,int LopTinChi_ID);
		#endregion

		#region Delete functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:24/02/2012 20:02:25</para>
		/// <para>Name: Delete</para>
		/// <para>Input: LopTinChiEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool Delete(LopTinChiEntity o);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:24/02/2012 20:02:25</para>
		/// <para>Name: DeleteByID</para>
		/// <para>Input: LopTinChi_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool DeleteByID(int LopTinChi_ID);
		#endregion

		#region Select join to HocKyMonHocNamHoc functions
		#endregion

		#region Select join to HocKy functions
		#endregion

		#region Select join to MonHoc functions
		#endregion

		#region Select join to NamHoc functions
		#endregion

		#region Select,delete by LopTinChi_ID functions
		#endregion

		#region Select,delete by NamHoc_ID functions
		#endregion

		#region Select,delete by HocKy_ID functions
		#endregion

		#region Select,delete by MonHoc_ID functions
		#endregion
	}
	/*****************************************************************************************************/
	/**********************************END LopTinChiWebServiceBase*****************************************/
	/*****************************************************************************************************/
}

